package com.iemes.mapper;


import com.iemes.entity.ChildTableFormMap;
import com.iemes.entity.ProjectJcForMmap;
import com.iemes.entity.RelevanceForMap;
import com.iemes.mapper.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProjuctJcMapper extends BaseMapper {
    List<ProjectJcForMmap> getAll();
    List<ProjectJcForMmap> getData(@Param("name") String name, @Param("conditions") String conditions);
    List<ProjectJcForMmap> getContent(@Param("code") String code);
    //根据id获取数值
    List<ChildTableFormMap> getList(@Param("id") String id);
    //关联数据
    int relevance(@Param("id") String id,@Param("relevanceData") String relevanceData);
    //关联数据
    List<RelevanceForMap> selRelevance(@Param("id") String id);
    //关联数据
    List<RelevanceForMap> selRelevanceName(@Param("name") String name);


}
